import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CommonRedisService } from '../service/common.redis.service';
import {Auth2Controller} from "../controller/auth2.controller";
import {UserListService} from "../service/user.list.service";
import {AppListService} from "../service/app.list.service";
import {UserListEntity} from "../entity/user.list.entity";
import {AppListEntity} from "../entity/app.list.entity";

@Module({
    imports: [
        TypeOrmModule.forFeature([UserListEntity, AppListEntity])
    ],
    providers: [CommonRedisService, UserListService, AppListService],
    controllers: [Auth2Controller]

})
export class Auth2Module {}
